<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./utils.js"></script>
  <script src="./spirit.js"></script>
  <script src="./game.js"></script>
  <script src="./scene.js"></script>
  <script src="./scene_title.js"></script>
  <script src="./particle.js"></script>
  <style>
    #canvas {
      border: 1px solid #ccc;
      background: #000;
    }
  </style>
</head>

<body>
  <canvas id="canvas" width="400" height="600"></canvas>
  <script>
    const canvas = document.querySelector('#canvas')
    const game = new Game(canvas)
    const scene_title = new SceneTitle(game)

    game.replaceScene(scene_title)


  </script>
</body>

</html>